
<h1>Ajouter une séance</h1>
<?php
echo $this->Form->create('Seance', array('enctype'=>'multipart/form-data'));
?>
<div id="datepicker" class="input-append date">
	<?php
	echo $this->Form->input('Seance.date', array('type'=>'text', 'data-format' => 'yyyy-MM-dd hh:mm:ss', 'label' => false, 'id' => 'datepicker'));
	?>
	<span class="add-on">
		<i data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
	</span>
</div>
<?php
echo $this->Form->input('Seance.film_id', array('type'=>'select', 'label'=>'Film : '));
echo $this->Form->input('Seance.salle_id', array('type'=>'select', 'label'=>'Salle : '));
echo $this->Form->end('Créer');
?>

<style>
	#datepicker .input{
		float: left;
	}
</style>